Skip to content

docs: separate rehydration, retrieval and reconstruction terms - #6822

Merged
sei-ahouseholder merged 2 commits into
mainfrom
docs/rehydration-retrieval-reconstruction-terms
Nov 30, 2026
Merged

sei-ahouseholder merged 2 commits into
mainfrom
docs/rehydration-retrieval-reconstruction-terms

Conversation

@sei-ahouseholder

@sei-ahouseholder sei-ahouseholder commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Gives "rehydrate", "retrieve" and "reconstruct" one meaning each.
The glossary now defines all three. The specs that used "reconstruct" for a plain
DataLayer store read now say "rehydrate". After this change, "reconstruction" only
means data that was derived instead of stored, received or fetched. Before, agents
reading DL-05 next to OX-07 and CBT-05-008 flagged ordinary store reads as
reconstruction.

Changes

  • docs/reference/glossary.md:
    • Sharpens Rehydration: it parses what was stored and computes nothing. A
      field dehydrated to an id is filled from the store's current contents, which is
      why OX-07-004 forbids rehydrating a body that was already sent.
    • Adds Retrieval (dereference/fetch, AKM-05-007/011) and keeps it apart from
      the Retriever capability shape.
    • Adds Reconstruction: data that was derived, usually a defect
      (CBT-05-008, OX-07-005).
    • Adds Flagged Ambiguity 23 with a usage recommendation.
    • Adds "reconstruction" to the aliases to avoid on Auto-Rehydration.
    • The DataLayer row says core "stores and reads" case data, so "retrieve" keeps
      its new meaning.
  • specs/datalayer.yaml: DL-05-001 and DL-05-007, with their rationales, say
    "rehydrate" in place of "reconstruct".
  • specs/object-ids.yaml: OID-02-003 says "rehydrate".
  • specs/vocabulary-model.yaml: VM-06-014 says a persistence read path
    "rehydrates whatever was stored", matching vocab/AGENTS.md.
  • specs/architecture.yaml: ARCH-12-009 names CORE_VOCABULARY the DataLayer's
    primary "rehydration" path; the ARCH-12-008/009/011 rationales stop calling store
    reads or wire parsing "reconstruction". The edited spec lines are rewrapped to 88
    characters.
  • vultron/wire/as2/vocab/AGENTS.md: the include_core=True read path
    "rehydrates whatever was stored".
  • notes/wire-core-boundary.md: the project_wire_snapshot_to_core seam is a
    "snapshot projection", not a "reconstruction".

Docs: glossary updated in this PR

Spec amended

Reason, for all five: wording only, no change in behavior. The old word
"reconstruct" means synthesized data everywhere else in the corpus
(OX-07-001/005, CBT-05-008, CLP payload-snapshot rules).

DL-05-001

  • Before: dl.read(id) and dl.list_objects(type_key) MUST reconstruct persisted
    domain entities using the core vocabulary registry …
  • After: … MUST rehydrate persisted domain entities using the core vocabulary
    registry …

DL-05-007

  • Before: The wire vocabulary registry MUST NOT be the mechanism by which core
    objects are reconstructed on the DataLayer read path.
  • After: … by which core objects are rehydrated on the DataLayer read path.

OID-02-003

  • Before: record_to_object() MUST reconstruct objects using the full-URI as_id
    stored in the record
  • After: record_to_object() MUST rehydrate objects using the full-URI as_id
    stored in the record

VM-06-014

  • Before: … Such a caller is a persistence read path that reconstructs whatever was
    stored.
  • After: … Such a caller is a persistence read path that rehydrates whatever was
    stored.

ARCH-12-009

  • Before: CoreObject subclasses MUST register in CORE_VOCABULARY as the
    DataLayer primary reconstruction path.
  • After: CoreObject subclasses MUST register in CORE_VOCABULARY as the
    DataLayer primary rehydration path.

🤖 Generated with Claude Code

The glossary defined only Rehydration, while "reconstruct" was used both
for the plain DataLayer read path (DL-05-001/007, OID-02-003) and for
synthesized, unfaithful data (OX-07, CBT-05-008, CLP snapshot rules).
Agents reading both called ordinary store reads "reconstruction".

Define Rehydration (parse stored data, compute nothing; dehydrated
references re-read current state), Retrieval (AKM-05-007 fetch), and
Reconstruction (derived data, usually a defect), add flagged ambiguity
23, and reword the neutral "reconstruct" uses to "rehydrate".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sei-ahouseholder sei-ahouseholder added the specs-notes Docs-only PR label Nov 30, 2026
@github-actions github-actions Bot added the size:S ≤200 diff lines or ≤1 ACs label Nov 30, 2026
@sei-ahouseholder

Copy link
Copy Markdown
Contributor Author

pr-triage — PR #6822 (full mode; build context: fallback, no build context file)

2 FAIL, 5 IMPROVE — all fix-now.

ID Sev Finding
phase11-ci-spec-line-length-0 FAIL test_no_pr_adds_an_overlong_spec_yaml_line red in Guard / Spec Corpus / arch (CI gate red): 4 edited lines in DL-05-001, DL-05-007, OID-02-003 exceed 88 chars
phase5-vm-06-014-missed-0 FAIL VM-06-014 still says "a persistence read path that reconstructs whatever was stored" — the phrase this PR changes in vocab/AGENTS.md
phase5-arch-12-reconstruction-store-read-0 IMPROVE ARCH-12-008/009/011 call store reads "reconstruction"
phase8-retrieval-alias-contradiction-0 IMPROVE Retrieval row avoids "fetch" / "Dereference (as a noun)"; Ambiguity 23 recommends both
phase8-dl-06-004-citation-0 IMPROVE DL-06-004 is the receiver's archived copy, not a sealed copy
phase8-reconstruction-example-0 IMPROVE Reconstruction example is built from what was stored, contradicting its definition
phase8-datalayer-retrieve-wording-0 IMPROVE DataLayer row "store and retrieve" clashes with the new Retrieval meaning

Merge state: MERGEABLE / BLOCKED (CI gate FAILURE, caused by the first finding). PR body lint: 0 findings. Spec amendments: DL-05-001, DL-05-007, OID-02-003 have blocks; wording-only.

- ci-status: rewrap the edited DL-05-001, DL-05-007 and OID-02-003 lines to 88 chars
- spec-conformance: VM-06-014 says "rehydrates whatever was stored"
- spec-conformance: ARCH-12-008/009/011 stop calling store reads "reconstruction"
- code-review: Retrieval row's avoided aliases no longer contradict Ambiguity 23
- code-review: Ambiguity 23 cites OX-07-004 for the sealed copy, DL-06-004 for the archive
- code-review: Reconstruction example matches its own definition
- code-review: DataLayer row says "store and read", not "retrieve"

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sei-ahouseholder

Copy link
Copy Markdown
Contributor Author

PR Execute: #6822 — docs: separate rehydration, retrieval and reconstruction terms

Fixes applied: 1 commits
Excursions filed and fixed: 0 (PR closes them)
Deferred (you approved): 0
Halted (inversion, awaiting you): 0
Tests run: targeted set (1 files) — test/architecture/test_line_length_ratchet.py; prepush-ci-mirror exit 0
CI status: ✅ passing
Base sync: ✅ not needed — no conflict, GitHub does not report BEHIND (being behind main is fine)
Docs line: Docs: glossary updated in this PR — 1 pages updated by execute

Suite runs: 0 full, 1 targeted


Fixed

Finding Commit Closes
phase11-ci-spec-line-length-0: rewrap edited DL-05-001/DL-05-007/OID-02-003 lines to 88 chars 3f15b7d —
phase5-vm-06-014-missed-0: VM-06-014 "rehydrates whatever was stored" (Spec amended block added) 3f15b7d —
phase5-arch-12-reconstruction-store-read-0: ARCH-12-008/009/011 wording (ARCH-12-009 Spec amended block added) 3f15b7d —
phase8-retrieval-alias-contradiction-0: Retrieval aliases now "Lookup, rehydration, reconstruction" 3f15b7d —
phase8-dl-06-004-citation-0: sealed copy (OX-07-004) vs archived copy (DL-06-004) 3f15b7d —
phase8-reconstruction-example-0: example now "presenting a store read as a body that was sent" 3f15b7d —
phase8-datalayer-retrieve-wording-0: DataLayer row "store and read" 3f15b7d —

@sei-ahouseholder

Copy link
Copy Markdown
Contributor Author

PR Verify: #6822 — READY-TO-MERGE

Merge state: MERGEABLE (CLEAN) — base main; CI gate SUCCESS
CI: ✅ all checks green on 3f15b7d
Docs line: Docs: glossary updated in this PR — fresh (fix commit 3f15b7d checked)
Spec amended: ARCH-12-009, DL-05-001, DL-05-007, OID-02-003, VM-06-014 all covered, no TODO; wording-only

Finding Sev Verdict
phase11-ci-spec-line-length-0 FAIL CONFIRMED (no added spec line > 88; ratchet green in CI)
phase5-vm-06-014-missed-0 FAIL CONFIRMED (specs/vocabulary-model.yaml:848)
phase5-arch-12-reconstruction-store-read-0 IMPROVE CONFIRMED
phase8-retrieval-alias-contradiction-0 IMPROVE CONFIRMED
phase8-dl-06-004-citation-0 IMPROVE CONFIRMED
phase8-reconstruction-example-0 IMPROVE CONFIRMED
phase8-datalayer-retrieve-wording-0 IMPROVE CONFIRMED

@sei-ahouseholder
sei-ahouseholder merged commit 021117d into main Nov 30, 2026
43 checks passed
@sei-ahouseholder
sei-ahouseholder deleted the docs/rehydration-retrieval-reconstruction-terms branch November 30, 2026 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S ≤200 diff lines or ≤1 ACs specs-notes Docs-only PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants